# coding: utf-8

from application import db

class Login(db.Model):
    __tablename__ = 'login'

    id = db.Column(db.Integer, primary_key=True)
    account = db.Column(db.String(100), nullable=False, unique=True)
    cookies = db.Column(db.Text)
    state = db.Column(db.Integer, server_default=db.FetchedValue())
    addtime = db.Column(db.DateTime, server_default=db.FetchedValue())
